package com.zhuang.chapter06;

public class EmployeeMain {

	public static void main(String[] args) {
		/*
		 * Employee employee = new Employee(); employee.setId(2);
		 * employee.setName("张三"); employee.setSalary(25000.00); employee.say();
		 */
		Employee employee = new Employee();
		employee.setId(1);
		employee.setName("王笑");
		employee.setSalary(20000.0);
		employee.say();

		Manager manager = new Manager();
		manager.setId(2);
		manager.setJob("经理");
		manager.setBouns(50000.0);
		manager.setName("李东");
		manager.say();

	}
}
